import { Controller, Get } from "@nestjs/common";
import { AppService } from "./app.service";

/**
 * 应用程序主控制器
 * 提供基础的健康检查接口
 */
@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  /**
   * 健康检查端点
   * @returns 返回问候语字符串
   */
  @Get()
  getHello(): string {
    return this.appService.getHello();
  }
}
